package com.dkm.dkmproject.service;


import com.baomidou.mybatisplus.service.IService;
import com.dkm.dkmproject.domain.EvaluationTb;
import com.dkm.dkmproject.domain.OrderTb;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author 周佳佳
 * @since 2020-04-26
 */
public interface IOrderTbService extends IService<OrderTb> {
    /**
     * 根据用户id查询订单
     */
    public List<OrderTb> QueryOrder(Integer userId,Integer orState);

    List<OrderTb> selectUserID();

    int selectSqCount(String orId);

    /**
     * 增加订单
     * @param orderTb
     * @return
     */
    public int addOrderTb(OrderTb orderTb);

    int insertSelective(OrderTb record);

    List<OrderTb> selectAll(Integer pageNum,Integer pageSize);

    int selectCountOne();

    List<OrderTb> selectAllTwo(Integer pageNum,Integer pageSize,String orFwname);

    int selectCountTwo(OrderTb orderTb);

    int updateByPrimaryKeySelective(OrderTb record);

    int selectCountThree(String orFwname);

    OrderTb selectByPrimaryKey(String orId);
}
